package com.ruoyi.quartz.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.quartz.domain.CdOrderMain;

/**
 * CdOrderMainMapper接口
 * 
 * @author SYF
 * @date 2025-05-09
 */
public interface CdOrderMainMapper 
{
    /**
     * 查询CdOrderMain
     * 
     * @param fdate CdOrderMain主键
     * @return CdOrderMain
     */
    public CdOrderMain selectCdOrderMainByFdate(String fdate);

    /**
     * 查询CdOrderMain列表
     * 
     * @param cdOrderMain CdOrderMain
     * @return CdOrderMain集合
     */
    public List<CdOrderMain> selectCdOrderMainList(CdOrderMain cdOrderMain);

    /**
     * 新增CdOrderMain
     * 
     * @param cdOrderMain CdOrderMain
     * @return 结果
     */
    public int insertCdOrderMain(CdOrderMain cdOrderMain);

    /**
     * 修改CdOrderMain
     * 
     * @param cdOrderMain CdOrderMain
     * @return 结果
     */
    public int updateCdOrderMain(CdOrderMain cdOrderMain);

    /**
     * 删除CdOrderMain
     * 
     * @param fdate CdOrderMain主键
     * @return 结果
     */
    public int deleteCdOrderMainByFdate(String fdate);

    /**
     * 批量删除CdOrderMain
     * 
     * @param fdates 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCdOrderMainByFdates(String[] fdates);

    public List<Map<String,Object>> selectCdOrderMainData();

    public int clearCdOrderMain();
}
